home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 106
/
Vol 106.iso
/
games
/
garfield.swf
/
scripts
/
DefineSprite_17_odie_wait
/
frame_1
/
DoAction.as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2010-04-12
|
250 b
|
15 lines
function wait_for_ball(obj)
{
if(obj._parent.ball_mov._y > 300)
{
stop_wait();
}
}
function stop_wait()
{
clearInterval(timer);
_parent.odie_replace(0);
}
var timer = -1;
timer = setInterval(wait_for_ball,50,this);